home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 12617 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  770 b 

  1. Path: dildog.lgc.com!usenet
  2. From: Glenn Carr <gcarr@tulsa.lgc.com>
  3. Newsgroups: comp.lang.c
  4. Subject: enhanced time_t value before 1970...?
  5. Date: Mon, 01 Apr 1996 12:07:02 -0600
  6. Organization: Landmark Graphics
  7. Message-ID: <31601B46.4287@tulsa.lgc.com>
  8. NNTP-Posting-Host: 134.132.131.47
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0 (X11; I; AIX 1)
  13.  
  14. We're using a routine from an X/Motif widget vendor, KL Group, that
  15. converts a time string to a time_t value (i.e., the number of
  16. seconds since 12/31/1969), with the added ability to return a
  17. negative time_t for dates before epoch.  We'd like to use this
  18. algorithm, but it's proprietary :-(.  Does anyone have a solid
  19. algorithm for doing this?
  20.  
  21. --
  22. Glenn
  23.